package com.itmuch.providerdemo.ribbon;

import com.netflix.loadbalancer.IRule;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.context.annotation.Bean;

//@RibbonClient(name = "provider-demo", configuration = XXXX.class)
public class MyRibbonConfiguation {
}

class XXXX {
    @Bean
    public IRule ribbonRule() {
        return new MyMetadataBasedRule();
    }
}